package ifelseif;
//根据成绩给奖励
import java.util.Scanner;

public class test01 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入成绩");
        int a = sc.nextInt();
        if (a>100||a<=0) {
            System.out.println("输入数据错误");
        } else if(90<a && a<=100){
            System.out.println("奖励出国游");
        }else if (a>=80&&a<90){
            System.out.println("奖励国内游");
        }else if (a>=70&&a<80){
            System.out.println("奖励省内游");
        }else if(a>=60&&a<70){
            System.out.println("奖励市里游");
        }else{
            System.out.println("准备挨打");
        }
    }
}
